package COM.ZYC;

import java.util.Scanner;

public class Demo6 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("第一个整数为：");
        int a = scanner.nextInt();
        System.out.println("第二个整数为：");
        int b = scanner.nextInt();
        int Difference= a - b;
        int sum = a + b;
        System.out.println("整数和为："+sum);
        System.out.println("整数差为："+Difference);
    }
}
